<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>八爪金链</title>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta name="Author" content="larry"/>
    <link rel="Shortcut Icon" href="favicon.ico"/>
    <link rel="stylesheet" th:href="@{/common/layui/css/layui.css}" media="all"/>
</head>
<body>
<script th:src="@{/common/layui/layui.js}"></script>
<script>
    layui.use(['jquery', 'layer'], function () {
        var $ = layui.$,
            layer = layui.layer,
            test = /^http(s*):\/\//.test(location.href);
        if (!!test) {
            location.href = 'index.html'
        } else {
            layer.alert('无法访问', {title: '提醒'});
        }
    });
</script>
</body>
</html>